import { LOG_API } from '@/api'
import Modal from './modal'

class LogModel extends Modal {
  private static instance: LogModel
  static get Instance() {
    return this.instance || (this.instance = new LogModel())
  }
  login() {
    return this.request(LOG_API.LOGIN)
  }
}

const i = LogModel.Instance
export default i
